local evl_Art = CreateFrame("Frame", nil, UIParent)

local gradient

function evl_Art:onEvent()
	self:SetWidth(GetScreenWidth() + 30)
	self:SetHeight(125)
	self:SetBackdrop({
		bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
		edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", edgeSize = 16,
		insets = {left = 4, right = 4, top = 4, bottom = 4},
	})
	self:SetBackdropBorderColor(0, 0, 0, 0.9)
	self:SetBackdropColor(0, 0, 0, 0.85)
	self:SetFrameStrata("BACKGROUND")
	self:ClearAllPoints()
	self:SetPoint("BOTTOM", UIParent, "BOTTOM", 0, -10)
	
	MainMenuBar:SetPoint("BOTTOM", UIParent, "BOTTOM", 0, 120)
	
	gradient = self:CreateTexture(nil, "BORDER")
	gradient:SetWidth(GetScreenWidth() + 22)
	gradient:SetHeight(50)
	gradient:SetTexture("Interface\\ChatFrame\\ChatFrameBackground")
	gradient:SetPoint("TOP", self, "TOP", 0, -4)
	gradient:SetBlendMode("ADD")
	gradient:SetGradientAlpha("VERTICAL", .1, .1, .1, 0, .25, .25, .25, .3)
	
	-- Adjust UI elements
	UIParent:SetAttribute("TOP_OFFSET", -50)
	CONTAINER_OFFSET_X = 0
	CONTAINER_OFFSET_Y = 130
	
	self:UnregisterEvent("PLAYER_ENTERING_WORLD")
end

function evl_Art:new()
	self:SetScript("OnEvent", self.onEvent)
	self:RegisterEvent("PLAYER_ENTERING_WORLD")
end

evl_Art:new()